package xkp.lesson.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import xkp.lesson.entity.UserInfo;
import xkp.lesson.mapper.UserInfoMapper;

import java.math.BigDecimal;

@Service
public class UserInfoService {
    @Autowired
    private UserInfoMapper userInfoMapper;

    public UserInfo selectById(Integer id){
        return userInfoMapper.selectByPrimaryKey(id);
    }
}
